Skip to content

Conversation

@cx-kedar-bhujade
Copy link
Contributor

Description

New parameters such as additional_params have been introduced.

Reason for Change

Previously, additional_params were not passed to the utils and results commands.
As a result:

Debug logs were not visible for these commands.

It was not possible to pass extra flags or configurations specifically for utils and results.

Enhancement

To address this limitation, four new parameter flags have been added:
global_params
scan_params
utils_params
results_params

Sample yaml file

      - name: Run Checkmarx One Scan
        uses: Checkmarx/ast-github-action@main
        with:
          project_name: Test_project
          cx_tenant: ${{ secrets.CX_TENANT }}
          base_uri: https://eu.ast.checkmarx.net/
          cx_client_id: ${{ secrets.CX_CLIENT_ID }}
          cx_client_secret: ${{ secrets.CX_CLIENT_SECRET }}
          global_params: "--debug"
          scan_params: "--scan-types container-security"
          utils_params: "--code-repository-url sample-url.com"
          results_params: "--wait-delay 30"

Behavior

scan_params, utils_params, and results_params allow passing command-specific flags directly to each respective command.

global_params can be used when the customer wants to provide CLI global flags (scan, utils, and results) through a single global flag.

When global_params is used, DO NOT USE CLI Global flags in scan_params, utils_params, results_params individually.

Backward Compatibility

The additional_params flag is retained for backward compatibility to ensure older configurations continue to work without modification.

Testing

Tested with CLI global flags
Tested with scan flags
Tested with utils flags
Tested with results flags

@github-actions
Copy link

github-actions bot commented Oct 16, 2025

Logo
Checkmarx One – Scan Summary & Details07858059-9575-40c8-a44b-6ce3c469d851

Policy Management Violations (1)
Policy Name Rule(s) Break Build
Commercial packages true

Copy link

@cx-umesh-waghode cx-umesh-waghode left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good. Please update samples under CI-CD-Integration repo.

@cx-anurag-dalke cx-anurag-dalke merged commit 4c5c635 into main Nov 5, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants